/**
 * Author:   e20160504
 * Date:     2018/7/9 14:23
 * Description:
 */
package com.kevin.demo.service.log.impl;

import com.kevin.demo.entity.log.TestLog;
import com.kevin.demo.mapper.log.TestLogMapper;
import com.kevin.demo.service.log.LogService;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;

public class LogServiceImpl implements LogService {

    @Autowired
    private TestLogMapper mapper;

    @Override
    public boolean insert(TestLog var1) {
        mapper.insert(var1);
        return true;
    }

    @Override
    public TestLog selectById(Serializable var1) {
        return mapper.selectByPrimaryKey((Integer) var1);
    }
}
